raar.language
Class RAAssignment
java.lang.Object
raar.language.RAAssignment
- All Implemented Interfaces:
- java.io.Serializable, RAStatement
public class RAAssignment
- extends java.lang.Object
- implements RAStatement
This class models the RAAR := statement; in effect it assigns a value to a register at execution.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RAAssignment
public RAAssignment(java.lang.String assignTo,
RAAssignable value,
RARegister register)
getAssignTo
public java.lang.String getAssignTo()
getValue
public RAAssignable getValue()
getRegister
public RARegister getRegister()
execute
public void execute()
throws RAException
- Specified by:
execute in interface RAStatement
- Throws:
RAException
execute
public void execute(boolean forceRegisterInitial)
throws RAException
- Throws:
RAException